home *** CD-ROM | disk | FTP | other *** search
/ Amiga Game-Power / Amiga Game-Power.iso / power games ii / tetrix / uedit / uedit-tutor < prev    next >
Text File  |  1994-05-20  |  34KB  |  837 lines

  1.  
  2.  
  3.                                 Uedit-Tutor
  4.                     Copyright (C) 1986-88, Rick Stiles
  5.  
  6.                  ((See Uedit-Policy for purchasing info.))
  7.  
  8.  
  9.                             **** DISCLAIMER ****
  10. I can accept no responsibility, if you crash your Amiga or lose text files
  11. with Uedit.  No guarantees, either explicit or implied, are made as to
  12. Uedit's safety.  If you use it, it is at your own risk.
  13.                             **** ********* ****
  14.  
  15. Dear folks,
  16.  
  17. (See Getting Started, below, for immediate instructions.)
  18.  
  19. Uedit is an editor for technical users.  It has many wordprocessing features.
  20.  
  21. In developing and enhancing Uedit, the aims have been for the user to:
  22.    o Be able to work without bumping into limits of power and capacity;
  23.    o Be able to automate repetitive work, eliminate tedium, save time;
  24.    o Be rid of the irritation of wasted keystrokes and stodgy performance;
  25.    o Be able to customize the environment fully;
  26.    o Be able to create, on the spot, new capabilities that are needed.
  27.  
  28. Uedit is Shareware.  You can get a copy from a friend or off a computer
  29. network and try it out, in order to decide whether to purchase the real thing
  30. or not.  (See Uedit-Policy for purchasing info.)
  31.  
  32.  
  33.                        *** About This Version ***
  34.  
  35. This freely distributable Shareware version has the following limitations
  36. in order to enable you to "get the flavor" and use Uedit productively and
  37. yet to encourage you to register to get the real thing:
  38.     1. It has a 4-file limit.  The stacks have been omitted, because of the
  39.        4-file limit.  If the stacks were included, you'd be able to edit an
  40.        "infinite" number of files (to limit of memory) and maintain an
  41.        arbitrary number of buffers and numbers on the stacks.
  42.     2. It will not let you save a full or partial configuration to disk.
  43.        Thus you can customize while you're using Uedit, create and compile
  44.        new commands, even compile an entire config file, but cannot save a
  45.        custom configuration to disk for permanent use.
  46.     3. It won't let you save a learned sequence to disk.  You can use learn
  47.        mode as much as you want but cannot store the learned sequences for
  48.        permanent use.
  49.     4. The getBufAddr/attachBuf/detachBuf functions have been omitted, so
  50.        this version cannot exchange buffers with external programs or other
  51.        copies of Uedit running on your Amiga.
  52.  
  53.  
  54.                                About Uedit
  55.  
  56.  
  57. You can try Uedit immediately without reading beyond this paragraph.  The
  58. menus, Help, and Teach Mode should be enough for most users to get going.
  59.  
  60. When you use Teach Mode, be sure to try the shift/alt/ctrl/Amiga shift keys,
  61. to find out what the various combinations do with the keys and mouse-clicks
  62. and gadgets in the message line.  Abort out of Teach Mode with Amiga-ESC.
  63.  
  64. Goals in writing Uedit were openness, flexibility, power, friendliness -
  65. above all to give Freedom of Choice to the user.
  66.  
  67. Being able to edit 100 files (or more) is only the beginning of the depth
  68. Uedit has got.
  69.  
  70. Learn Mode adds a new dimension, providing instant automation for people who
  71. hate reading instructions and only want to know enough to get the job done.
  72.  
  73. The command language adds another dimension, letting you rewrite Every
  74. command, even the gadget and mouse button commands - on the fly.  Example:
  75. Put the cursor anywhere before the following command and press F6.
  76.              <normal-esc: putMsg("Welcome to Uedit!")
  77.                           alertUser("Click me") >
  78. Now press Esc.
  79.  
  80. Then there is the overall configurability and customizability, being able to
  81. swap and kill keys, change colors, customize the menus, etc.
  82.  
  83. Then there is the ability to switch configurations, changing the personality
  84. of Uedit in seconds, without interrupting editing.
  85.  
  86. Then there is the fact that it sleeps so that other tasks run efficiently and
  87. it can start other tasks and load in their results so that you can use them.
  88.  
  89. The ARexx interface allows you to send commands or text to Uedit from CLI or
  90. from host programs, thereby controlling Uedit from outside.  It allows Uedit
  91. to exchange data with ARexx host programs.
  92.  
  93. The "infinite" buffer and number stacks enable you to edit as many files or
  94. hold onto as many buffers or numbers as memory will hold.
  95.  
  96. Spooled file saving and spooled printing let you continue editing while
  97. saving and printing are in progress or when Uedit is in tiny window.
  98.  
  99. The spell-checking version of Uedit (see Uedit-Policy) allows you to spell-
  100. check documents, build dictionaries, create and use dictionary supplements,
  101. and so on.
  102.  
  103.                                  Features
  104.  
  105.  
  106. Uedit has too many features to go into here.  To name just a few, it has on-
  107. line Help facility as well as Teach Mode that teaches the purpose of keys,
  108. gadgets, clicks, and menu selections.
  109.  
  110. It has split windows, colored (hilite and invert) regions, interlace screen
  111. and RGB color tuning, mouse-scrolling and mouse cursor-placement, full sets
  112. of cut/copy/paste/clear capabilities for regular inverted or hilited as well
  113. as columnar text.
  114.  
  115. It lets you edit up to 100 or more files at once, has paragraph reformatting,
  116. page-making commands, printer selection and controls, undo-deletes, search-
  117. replace, edit-while-you-print up to 12 documents or regions, ctrl-click-
  118. loading of any filename anywhere, an interface that lets you use ARexx, and
  119. much more.
  120.  
  121. The main reason that Uedit's features can't be listed is that the user can
  122. create new ones anytime.
  123.  
  124. New commands can be typed into any buffer.  They are compiled in a fraction
  125. of a second typically, when you put the cursor in front of them and press f6.
  126. The command development and debugging work environment is extremely fast.
  127. New commands can be tested immediately after they have been written or
  128. changed.
  129.  
  130.                        Ignore the Technical Aspects
  131.  
  132. In order to discover how easy Uedit is to use productively, ignore
  133. anything technical in this tutorial for the moment.  Just use the program
  134. like you would any editor or wordprocessor.
  135.  
  136. Uedit was written for ordinary people, not for hackers, although it is true
  137. that most users are technical.  You don't need to memorize anything
  138. technical in order to do powerful and automatic things.
  139.  
  140. For instance, learn mode couldn't be simpler to use and it doesn't require
  141. any technical grasp or memorization.  Yet it offers benefits that rival those
  142. of the command language and overall customizability of the program.
  143.  
  144. Just try Uedit as an ordinary editor first, and see how you like it.
  145.  
  146. And remember:  Almost anything you don't like can be changed by the user.
  147.  
  148.  
  149.                               Getting Started
  150.  
  151.  
  152. Workbench and CLI:
  153.  
  154. You can run Uedit immediately in Workbench by clicking its icon.
  155.  
  156. You can run it immediately in CLI by typing "Run UES file1 file2 file3 etc".
  157.  
  158. To be able to run UES from any directory, run CLI and type the following:
  159.                 Copy    UES   C:
  160.                 Copy    NoName.info S:
  161.                 Copy    Data! S:
  162.                 Copy    Help! S:
  163.                 Copy    Key-Help S:
  164.  
  165.  
  166. Now you can run Uedit from any directory.  NoName.info must be in S:, if you
  167. are going to select "Make icons" so that Uedit will create file icons for
  168. you.  (You can create your own custom NoName.info icon, if you wish.)
  169.  
  170. Data! and Help! must either be in S: or in your current working directory.
  171.  
  172.  
  173. Here is what the key-prefixes mean in the menu selections:  S=Shift, A=Alt,
  174. C=Ctrl, L=leftAmiga, R=rightAmiga.  Keypad keys are abbreviated with "kp".
  175.  
  176.  
  177. If a menu selection says "L-0", it means that holding down the left Amiga key
  178. and pressing "0" will do the same thing as the menu entry.  If it says "SA-
  179. kp7", it means hold down Shift and Alt keys and press the 7 on the keypad.
  180.  
  181. Press Help as needed.  Select "Teach keys" to learn about Uedit's keys.  When
  182. finished with Teach Keys, press Amiga-ESC.
  183.  
  184. Amiga-ESC is Uedit's general purpose Abort key.  Use it to Abort any operation.
  185.  
  186. To slide Uedit's screen up/down, put the mouse at the far right of the title
  187. bar.
  188.  
  189. CLI command line:
  190.  
  191. The "Run UES" command line can have any number of file names in it, up to the
  192. maximum that you are configured to use.  (The Shareware UES program is
  193. wired for 4 files maximum.)
  194.  
  195. The following flags can be used in the CLI command line as well.  The flags
  196. must come BEFORE the file names in the command line.  Example:
  197.     Run UES -a0x0f0f0f0f -b12345678 -lMyLearnSeq -k300 -dDataFileName
  198.     -cConfigFileName file1 file2 file3 ....
  199.  
  200. The -a and -b flags initialize the global variables UserGlobalA and
  201. UserGlobalB.  The -l flag causes the learned sequence to be run after the
  202. files in the command line are loaded in.  The -k flag causes the key with the
  203. corresponding macro-number to be executed - after the files (if any) are
  204. loaded, and after the learned sequence (if any) is run.  The flags are
  205. handled in the following order:
  206.     -c config file is loaded and compiled, if named.
  207.     -d data file is loaded, if named & exists & -c flag not used.
  208.     The named files are loaded, if any.
  209.     -a and -b set the global user variables, if used.
  210.     -l runs the learned sequence, if named & exists.
  211.     -k runs the key, if named & exists.
  212.  
  213. The function keys, F1 thru F10, do the following (with no shift keys):
  214.  
  215.     F1 = next file
  216.     F2 = save file
  217.     F3 = close file
  218.     F4 = quit
  219.     F5 = swap next 2 commands
  220.     F6 = compile command following cursor
  221.     F7 = input search text and search fwd
  222.     F8 = input replace text
  223.     F9 = search fwd
  224.     F10 = replace & search fwd
  225.  
  226.  
  227. Files and buffers:  Uedit has 100 buffers, which can be used for holding
  228. documents and bits and pieces of text.  The lowest buffer numbers are used for
  229. holding documents.  Any number of buffers may also be stored on the buffer
  230. stack.  (The same is true of the number stack and the file-saving queue.)
  231.  
  232. How many files Uedit will let you load in is determined by the "Max files"
  233. menu selection.  (The Shareware UES is wired to 4 files max.)
  234.  
  235. Directories and Files:
  236.  
  237. The easiest way to load a file is to Ctrl-click its name in Uedit.  There are
  238. two "current" directories:
  239.  
  240.     One is the Current Directory in which the Uedit program is running.  This
  241.     is the directory you started up in, unless you change it.  (See AmigaDOS
  242.     menu.)
  243.  
  244.     The second is the click-loading directory that Uedit currently is using.
  245.     The default click-loading directory is also the directory you started up
  246.     in, but you can change it as described below.
  247.  
  248. If you ctrl-click a directory name such as myDir/ in any buffer, the
  249. directory name is added to the list of directories in buffer 38.  If you
  250. ctrl-click in whitespace in any buffer, a split window opens up showing
  251. you the directory list (buffer 38) with the current click-loading
  252. directory hilited.
  253.  
  254. In the split window (buffer 38), you can change the current directory, get a
  255. dir listing, edit or save the directory buffer, get the current directory
  256. (CD), or select a new click-loading directory.
  257.  
  258. You can also get a directory listing by selecting "Directory" in the menu.
  259. The directory name you give is put into the directory list and becomes the
  260. current click-loading directory.
  261.  
  262. The "Files" menu lets you load/insert/rename/restore/save/close files.
  263.  
  264. Miscellaneous:
  265.  
  266. To make the 4 invisible "gadgets" in the message line visible or invisible,
  267. press Ctrl-g.
  268.  
  269. To make the cursor page/row/column info visible or invisible, press ctl-2.
  270. (These are in the menus: "Mark gadgets" and "Row/Column".)
  271.  
  272.  
  273. Scrolling:  Scroll vertically by holding down the mouse button and moving the
  274. mouse.  The arrow keys also do vertical and horizontal scrolling.
  275.  
  276. For faster scrolls, either hold down the up/down arrow key or use Shift, Alt,
  277. or Ctrl with the arrow key.  For a slower scroll, use the up/down gadgets.
  278.  
  279.  
  280. Moving the Cursor:  Much of the time you may prefer placing the cursor by
  281. clicking the left mouse-button.
  282.  
  283. The keypad keys 2, 4, 6, & 8 move the cursor up/down/left/right by word/
  284. character/line/page depending on which shift key is used.
  285.  
  286. (Teach Keys will give you the sense of the keypad keys.)
  287.  
  288.  
  289. Scratch deletes & Undo:
  290.  
  291. Scratch deleting is what you'd normally use in meat & potatoes text work.  The
  292. following keys do scratch deletes at the cursor location:
  293.  
  294.     Ctrl-d deletes the cursor line.
  295.     Keypad-7 (unshifted) deletes word-left.
  296.     Keypad-9 (unshifted) deletes word-right.
  297.     Shift-kp7 deletes character left.
  298.     Shift-kp9 deletes the character under the cursor.
  299.     Alt-kp7 deletes to start of line.
  300.     Alt-kp9 deletes to end of line.
  301.     Ctrl-kp7 deletes to top of window.
  302.     Ctrl-kp9 deletes to bottom of window.
  303.  
  304. These are the "scratch" delete keys.  When you use them, the deleted material
  305. is stored in the scratch-delete (Undo) buffer.  Long as you don't move the
  306. cursor and make a delete somewhere else, you can store any number of scratch
  307. deletes.
  308.  
  309. Pressing keypad-0 inserts the Undo buffer at the cursor.  Thus, after doing a
  310. series of scratch deletes using the above keys, you can place the cursor
  311. somewhere, press keypad-0, and insert the deleted material.
  312.  
  313. If you move the cursor and do another scratch delete, the Undo buffer is
  314. cleared before the newly deleted text is stored.  You will find that you do
  315. most of your cut & paste the quick & dirty way, using scratch-deletes and the
  316. Undo key.
  317.  
  318.  
  319. If you select "Undo buffer" in the Split Window menu, you can monitor the
  320. contents of the Undo buffer and even type into it.  To adjust the size of any
  321. split window, activate the window by clicking it with the mouse and then
  322. press lAmiga-= and adjust the size by holding the left mouse-button and
  323. moving the mouse.
  324.  
  325. There can be up to 8 split windows in use.
  326.  
  327.  
  328. There are many ways to do cut/copy/paste operations with Uedit and to do them
  329. in parallel.
  330.  
  331. You can be doing cut & paste using scratch deletes, hilite region, invert
  332. region, and columnar data, all at the same time.  If these aren't enough,
  333. you've got 100 buffers to put bits and pieces into.  Any number of buffers
  334. can be put onto the stack using "Push buf", so you can maintain as many
  335. files and buffers as memory will hold.  (The Shareware UES program does
  336. not include the buffer & number stack functions.)
  337.  
  338.  
  339. Creating a hilite region:
  340.  
  341. There are 3 ways to mark a hilite region.  Press HELP and it will show them
  342. to you.
  343.  
  344. But rather than do that, try this:  Place the mouse high up in the text. 
  345. Hold down the Shift key and click the mouse.
  346.  
  347. Move the mouse to the lower right in the text.  Hold down the Alt key and
  348. click the mouse.
  349.  
  350. There should now be a hilited region.  This is one method of hiliting.
  351.  
  352.  
  353. Try this:  Select "Hilite buf" in the Split Window menu.  This shows you the
  354. contents of the copied hilite buffer.
  355.  
  356. Put the cursor anywhere in the colored, hilited region in the original buffer.
  357.  
  358. Now press keypad-Minus, the "-" key on the keypad.  This "cuts" the hilited
  359. region.  The region disappears.  (Don't move the cursor yet!)
  360.  
  361. Note that the cut material appeared instantly in the "Copied hilite" buffer.
  362.  
  363. Now press keypad-Enter.  This puts the "cut" text back where it was.  And it
  364. is hilited.  To unhilite it, press alt-h or select "Unhilite".
  365.  
  366.  
  367. To get rid of a split window, click the mousebutton in it, making it the
  368. active window-split.  Then select "Drop split" in the Split Window menu or
  369. press lAmiga-0.
  370.  
  371.  
  372. Columnar text operations:
  373.  
  374. Columnar regions are rectangular.  This means that when you create a hilite
  375. region to use for columnar text movement, the Start of the hilite region must
  376. be in a Lefthand column and the End of the hilite region must be in a
  377. Righthand column.  No region exists if the end of the region is not in a
  378. higher column number.
  379.  
  380.  
  381. Place the mouse high up in the text and to the left.  Press Shift and click
  382. the mousebutton.
  383.  
  384. Place the mouse low down and to the right, pointing to some word in the text.
  385. Press Alt and click the button.
  386.  
  387. Select "Col display" in the Edits menu.  Now the region should be displayed as
  388. rectangular.
  389.  
  390.  
  391. Select "Col copy" in the Columnar menu.  This makes a copy of the columnar
  392. region.
  393.  
  394. Put the cursor anywhere with the mouse.  Select "Col insert" in the Columnar
  395. menu and see what happens.
  396.  
  397. To remove the inserted, hilited columnar region, select "Col cut" in the menu.
  398.  
  399. (NOTE:  The keypad copy/cut/paste keys kpDot, kpMinus, and kpEnter also
  400. work as columnar keys when columnar display mode is used.)
  401.  
  402. You should experiment with columnar text in order to understand how to manage
  403. it.  (If you altered this Uedit-Tutor file just now, select "Restore" in the
  404. Files Open menu to restore it to the original.)
  405.  
  406.  
  407. When using columnar display mode, TABS are shown as "box" characters.  This is
  408. so that columns line up correctly when spaces and TABS are intermingled, as
  409. they often are.
  410.  
  411.  
  412. Tab Rulers:
  413.  
  414. There are 5 tab tables in Uedit, numbered 0 to 4.  You can change the tab
  415. table your document is using by selecting "Tab table" in the menu.
  416.  
  417. Individual documents can use different tab tables.  The tab ruler shows the
  418. tabs in the current document's tab table.
  419.  
  420. Select "See ruler" to see what the tab columns are or select "Set ruler" to
  421. set the tab columns.
  422.  
  423. If you have selected "Set ruler" and wish to set tabs at high columns beyond
  424. the right edge of the window, hold the mouse-button down and drag the mouse
  425. to the left, then release the button.
  426.  
  427. To slide the ruler to the right, drag the mouse rightward.
  428.  
  429. Tab columns can be set by clicking the mouse within 2 lines of the ruler, or
  430. by using the keys that the help message says to.
  431.  
  432.  
  433. Interlace mode:
  434.  
  435. You can see twice as many lines of text by selecting "Interlace" in the
  436. Global Modes menu (or by pressing Shift-ESC).  To return to normal Workbench
  437. window, select it again.  (Tuning the colors is discussed below.)
  438.  
  439.  
  440. Printing:
  441.  
  442. In the "Printing" menu, select "Print select" and put in a number 0 to 3,
  443. telling Uedit where you want your printing to go.  The message line tells you
  444. what the numbers 0-3 mean:
  445.     0 = raw text out the parallel port
  446.     1 = raw text out the serial port
  447.     2 = processed text using the Amiga's printer device
  448.     3 = raw text using the Amiga's printer device
  449.  
  450. If you embed Uedit's printer control codes in your text (such as for boldface,
  451. italics, etc) using the "Bracket hilite" or "Embed code" menu selections, you
  452. must set "Print select" to 2 or 3.
  453.  
  454. If you embed your own custom printer codes in the text, then you can use
  455. "Print select" values 0, 1, or 3, and they will be sent to your printer in raw
  456. form.  (Print-select value 2 allows the printer device to "strip out" any
  457. control codes that the Amiga printer device doesn't recognize.)
  458.  
  459.  
  460. (To embed CTRL characters, such as ESC, press ctl-c and then the desired
  461. character.  To identify any control character in the text, put the cursor on
  462. it and press ctl-/.)
  463.  
  464.  
  465. Print queue:  In the printing menu, you can select "Print hilite" or "Print
  466. file".
  467.  
  468. Long as the print-job will fit into memory, you can queue up as many as 12
  469. print-jobs and still go on editing while they print.
  470.  
  471.  
  472. You can even queue up print jobs to different printers, by changing "Print
  473. select" before selecting "Print hilite" or "Print file" for each print-job.
  474.  
  475. If the print-job is too big for memory, you will have to wait until printing
  476. is finished before you can continue editing.
  477.  
  478.  
  479. Save on idle:  By selecting "Save on idle" in the Local Modes menu, your file
  480. will be saved during pauses in your work, if it has been changed.
  481.  
  482. The length of the pause can be set by selecting "Idle timer".
  483.  
  484.  
  485. Margins, line-length, and lines-per-page:  In the Line/Page menu are
  486. selections for lines/page, line-length, top/bottom margins, and end-of-line.
  487.  
  488. If you want an "inner" left margin temporarily, simply indent the text and
  489. select "Autoindent", so that succeeding lines stay at the same indentation.
  490.  
  491.  
  492. To control the right margin, set line-length to the desired value.
  493.  
  494. If you set Left Margin in the Line/Page menu to any value greater than 0,
  495. typing will use the new left margin value.  Also, reformatting paragraphs will
  496. cause them to be reformated at the new left margin value.
  497.  
  498. Thus you can reformat an inset paragraph so that it is moved to the far left
  499. by setting Left Margin to 1 and reformatting it.
  500.  
  501.  
  502. Paragraph reformatting:  To reformat a paragraph, put the cursor in the line
  503. where you want reformatting to begin.  Then select "Paragraph" in the
  504. Reformats menu or press ctl-3.
  505.  
  506.  
  507. Paragraph reformatting ends when it reaches a blank line or a different
  508. indentation.  Different indentation says that you want a different left
  509. margin, hence it is not considered part of the paragraph being reformatted.
  510.  
  511.  
  512. Page formatting:  See the Paging menu.
  513.  
  514. Pages are determined by formfeeds in the text or by the line-count, using the
  515. current lines-per-page value.  To set the lines/page, see the Line-Page menu.
  516.  
  517.  
  518. The Page Formatting menu has selections for going to page#, going to top of
  519. page, going to bottom of page, inserting a page-division, deleting the next
  520. page-division, and auto-inserting page-divisions in your entire document.
  521.  
  522. When a page-division is inserted, the page number is automatically put in.
  523.  
  524. You can erase the page number by selecting "Del page #".
  525.  
  526. Page numbers are put 1/2 the bottom margin distance from the bottom of the
  527. page, where the bottom of the page is simply the lines/page setting (normally
  528. 66).
  529.  
  530. (Note that these are all user-customizable commands which you can modify
  531. and recompile.  Every command in Uedit is customizable.)
  532.  
  533. When a page-division is inserted, the top margin for the next page is also put
  534. in, after deleting any blank lines.
  535.  
  536. The formfeed causes the display to draw a line across the window, making page
  537. divisions easy to locate visually.
  538.  
  539. You can find page divisions quickly by using the "Bottom page" and "Top page"
  540. menu selections.  (These are lAmiga-b and lAmiga-H.)
  541.  
  542. To insert a page-division and page number at the cursor, press lAmiga-v or
  543. select "Divide page".
  544.  
  545. To remove a page division, put the cursor anywhere in the page above the page
  546. division and press lAmiga-d or select "Del page div".
  547.  
  548.  
  549.                               Odds and Ends
  550.  
  551.  
  552. To abort any operation, press Amiga-ESC.
  553.  
  554. Primitive Mode is used for special text and number inputs.  The Title Bar and
  555. the message line tell you what to do in Primitive Mode.
  556.  
  557. If you press F7 to input a search string, you'll be in Primitive Mode.  Type
  558. in the search text, then press ESC or click the mousebutton to terminate the
  559. input.
  560.  
  561. In Primitive Mode, you can type in Ctrl characters (such as ctl-m for
  562. carriage return) directly.  No need to press ctl-c first.
  563.  
  564. You can change the Primitive Mode terminator character from ESC to some other
  565. Ctrl character (such as the Return key) by selecting "PM terminator" in the
  566. menu or by pressing ESC.
  567.  
  568.  
  569. You can search for two things at once by putting a "$" dollar sign between
  570. two search strings.  This is the eitherOr delimiter.  To cause searching
  571. to skip a particular pattern, use the "all-but" delimiter which is "~".
  572.  
  573. The "?" question mark is used by search as a single-character wildcard.  The
  574. "*" is used as a multi-character wildcard.
  575.  
  576. You can change these special characters by selecting "Wildcards" or
  577. "Either-or" in the "Settings" menu.
  578.  
  579. "Search case" toggles on/off the upper/lower case-sensitivity of searching.
  580.  
  581.  
  582. In the message line are fake "gadgets" (if "Mark Gadgets" is turned On),
  583. such as "Next file", "Prev file", and so on.
  584.  
  585. These message-line gadgets are just like keys and mouse clicks.  They can be
  586. swapped, killed, reprogrammed, learned, used in menu selections, and so on.
  587. Gadgets can be used with shift-keys, so there can be many more than 4 gadgets.
  588.  
  589.  
  590. Menu selections are always attached to a key, gadget or mouse-button command.
  591. If you swap a menu selection, the key you swapped it with is run when you
  592. select that menu item.
  593.  
  594.  
  595. Uedit sleeps when it can, so that other tasks will run faster.
  596.  
  597.  
  598. Clicking the Title Bar switches to the tiny window.  The tiny window comes
  599. up inactive, so you can type into CLI immediately.
  600.  
  601. This also lets the Amiga reopen the big window in a better memory location.
  602.  
  603.  
  604. Uedit works with Transactor Magazine's Tiny Window Manager, written by Nick
  605. Sullivan.
  606.  
  607. If "TWM" is running on your Amiga, Uedit will not create its own tiny window
  608. but will instead alert TWM which will create a gadget for Uedit.  ("TWM" is
  609. provided on Uedit's diskette.)
  610.  
  611.  
  612. If Uedit runs out of memory and the "Memory..." message appears, that means it
  613. is compacting its stuff in memory, creating a larger area for the Amiga to use
  614. for graphics.  If "Memory..." appears, you ought to save and close some
  615. documents.  Also it's a good idea to click the Title Bar and reopen Uedit's
  616. window.
  617.  
  618.  
  619. Uedit sleeps between inputs.  If you don't type anything for 4 seconds, it
  620. does housekeeping.  If you select "Busies", you'll see which buffer is
  621. being worked on.  When the housekeeping is done, it sleeps.
  622.  
  623.  
  624. In the window's Title Bar, brackets [buf#,flags] contain the buffer number and
  625. various flags.  If Learn Mode is currently learning, "L#" appears, where #
  626. is the number of steps in the learned sequence.  If you are in Teach Mode,
  627. "T" appears.  If documents are queued up for printing, "P#" appears, where
  628. # is the number of print jobs yet to be done, up to 12 maximum.  If file-
  629. saves are in the queue, "S#" appears, where # is the file-saves remaining.
  630.  
  631.  
  632. Uedit picks up font changes made with Preferences or SetFont.  It works with
  633. all known hardware add-ons.
  634.  
  635. (Exceptions:  Printing may be slower using the AmigaDOS 1.3 print.device.
  636. This was true earlier, but may have been fixed by now.  Early versions of
  637. the C Ltd. TimeSaver (tm) blocked out the Ctrl-mouse input.  To get Ctrl-
  638. mouse, hold down Ctrl, touch Shift or Alt, and then click the mousebutton.)
  639.  
  640.  
  641. Some people start Uedit in their Workbench df0:S/Startup-Sequence and do
  642. everything from inside it.  They let it run other tasks and continue editing
  643. or let it sleep in tiny window while they work elsewhere.
  644.  
  645.  
  646. To see the current settings for line-length, lines/page, tab-table, margins,
  647. Uedit Serial Number, etc, press shift-HELP or select "Show vals".  This also
  648. shows you the size of the current file.
  649.  
  650.  
  651. Some settings are global and others are local to the current file.
  652.  
  653. Changing a local setting like word-wrap changes the global setting for future
  654. files loaded in.
  655.  
  656. To rotate the 4 Workbench colors, press alt-HELP until you see a combination
  657. that you like.  Each buffer can use its own colors.  If you change the
  658. colors and want the menu colors updated, select "Do menus".
  659.  
  660. To tune the RGB colors in Uedit's interlace screen, select "Lace color",
  661. and use the mouse to adjust colors.  Press ESC to terminate the RGB color
  662. tuning.
  663.  
  664.  
  665. To recover the original configuration after fooling with commands, colors,
  666. etc, select "Load data".
  667.  
  668. After making any of the changes discussed here, selecting "Save data" will
  669. save all current settings to disk.  (Note:  Save Data is not included in
  670. the Shareware UES program.)
  671.  
  672.  
  673.                               Editing Tricks
  674.  
  675.  
  676. If you are like me and hate reading instructions, and expect programs to be
  677. Easy Without Reading, then Learn Mode is for you.
  678.  
  679. No reading is necessary.  Learn Mode uses just the normal editing stuff.
  680.  
  681. It offers immense power and capacity to automate tedious, repetitive jobs.
  682.  
  683. If you need to search and replace misspelled names in 300 documents, you can
  684. teach Learn Mode how to do one and let it do them all while you take a break.
  685.  
  686. To set up for such automation takes only as many seconds as it takes you to do
  687. one operation yourself, showing Learn Mode what to do.
  688.  
  689.  
  690. Simply press ctl-s to start Learn Mode, do the sequence of operations, and
  691. press ctl-r to end Learn Mode.  (Warning:  If you press ctl-s a second
  692. time, it aborts and wipes out the learned sequence.)
  693.  
  694. Then press ctl-r to see how it works.  If you did it right and it works
  695. right, press ctl-m to set the command multiplier and then press ctl-r to run
  696. it as many times as desired.
  697.  
  698.  
  699. The Manual has lots of Examples and Editing Tricks which show how to take
  700. advantage of Uedit's versatility and power.  It describes how to use Learn
  701. Mode to click-add numbers or click-bracket words, do a mail-merge, and so
  702. on.
  703.  
  704.  
  705. A useful trick is to swap "Run learn" (ctl-r) with the mouse's buttonUp
  706. operation.  (A menu selection "Swap mouseUp" lets you do this swap.)
  707.  
  708. Then when you click the button, buttonDown will deposit the cursor like it
  709. normally does, and buttonUp will execute a learned sequence!
  710.  
  711.  
  712. The learned sequence can be anything.  It can, for instance, click-bracket
  713. text with printer control codes.  The Manual's Editing Tricks presents such
  714. examples.
  715.  
  716.  
  717. Or you can swap the mouse's buttonUp operation with another key, such as the
  718. add-numbers key (ctl-=).  Just select "Swap mouseUp" and press ctl-=.
  719.  
  720. Then you can click-add numbers that are scattered in various documents.
  721. Pressing ctl-\ will put the running total into the text at the cursor.
  722.  
  723.  
  724. Learned sequences can be stored on disk as files.  They are stored in your
  725. current directory.  If you copy them to S:, Uedit will find them from any
  726. directory.  The "Learn" menu lets you start, terminate, run, load, and save
  727. learned sequences.  (Note:  Save Learn is not included in the Shareware
  728. UES program.)
  729.  
  730. A saved learn sequence might, for example, go to top of document and type in
  731. a header, or go to bottom of document and type your name and address.  You
  732. could save it to disk and select "Load & run" in the Learn menu to run this
  733. learned sequence anytime.  You can assign a special key that inserts a
  734. header in one keystroke:
  735.  
  736.         <normal-esc: if (loadLearn("MyHeader")) runLearn >
  737.  
  738.  
  739.                             Config! and Data!
  740.  
  741.  
  742. Config! is a configuration file which is the Source of every command Uedit
  743. currently uses.  (Except, of course, you can customize Uedit while you're
  744. using it.)
  745.  
  746. A configuration may consist of a series of files.  The current standard
  747. config consists of:  Config!  (defaults and menu selections) Config!M
  748. (misc) Config!P (printing & paging) Config!R (ARexx) and Config!S
  749. (spelling & split windows)
  750.  
  751.  
  752. Data! is a compiled copy of Config! which Uedit loads at startup.
  753.  
  754. Data! should be in your S: directory or in your current directory, along with
  755. Help!, the help file.  If Data! is in S:, you can run Uedit from any directory
  756. or disk drive.  (Normally S: is assigned to the DF0:S subdirectory.  To
  757. assign it to myDirectory, type "Assign S: myDirectory" in CLI.)
  758.  
  759. To make Uedit recompile the config file, in CLI type:  Run Ues -c
  760.  
  761. The Config!(A-Z) have to be in your current directory or in S:.
  762.  
  763. You can keep as many config and data files on hand as you want.  The "Save
  764. data" and "Load data" selections in the menu let you switch configurations or
  765. save changes to Uedit that you have made while editing.  Thus you can
  766. customize it while using it.  (Save Data is not included in the Shareware
  767. UES program.)
  768.  
  769.  
  770. You can load and save data files from/to any directory and under any name.
  771. By customizing Uedit, you can turn it into an emulation of a favorite program
  772. or a disk utility or even possibly a spreadsheet.  While editing, you can
  773. select "Load data" and load in an entirely different configuration, changing
  774. its appearance and behavior.
  775.  
  776.  
  777. If you run Uedit by typing "Run UES -dDataFile .." or "Run UES -cConfigFile .."
  778. in CLI, it will load DataFile or compile ConfigFile.
  779.  
  780.  
  781. You can have hundreds of commands on-line at the same time.  Keys can load,
  782. compile, run, swap, and kill other keys, so there really is no limit to how
  783. many commands can be available at the press of a key.
  784.  
  785. Also you can create Partial Data files which contain blocks of commands that
  786. can be loaded in collectively or individually.  (Note:  The saveKeys()
  787. function is not included in the Shareware UES program, but loadKeys() is
  788. included.)
  789.  
  790.  
  791. There can be up to 7 menus with up to 20 selections each with up to 12 submenu
  792. selections, for a total of 1680 submenu selections.
  793.  
  794.  
  795. The configurability of Uedit is extreme.
  796.  
  797. A directory utility configuration was written that, in some respects, is more
  798. powerful and useful than directory utility programs typically are.  It lets
  799. you load in up to 100 or more directory listings and copy/delete/rename files
  800. and directories.  And while using it you can hold onto the files you were
  801. editing before you switched over to the dir-util config, as well as load in
  802. various files to read, edit, and save them while in the midst of directory
  803. house-cleaning.  This dir-util config is available as an extra.
  804.  
  805. Kurt Wessels wrote a config called UStar which emulates WordStar (tm) and
  806. Scribble! (tm).  Kurt's UStar is available as an extra.
  807.  
  808. Eric Kennedy wrote a VI! config which emulates the famous Unix(tm) vi editor.
  809. Unix users can feel right at home, using VI! instead of Uedit's standard
  810. configuration.  VI! is available as an extra.
  811.  
  812. Kent McPherson has written a Gold Key configuration that emulates the famous
  813. EDT Gold Key (tm) editor on DEC (tm) minicomputers.
  814.  
  815. Others have written specialized configs for programming and emulations of
  816. popular programs.  These are available as extras or from the authors or in
  817. the public domain.
  818.  
  819.  
  820.                              Acknowledgements
  821.  
  822.  
  823. I wish to thank the many users who have given thoughtful feedback on Uedit
  824. since it came out or have uploaded it to networks for me at their expense
  825. or helped in other generous ways.  Most of the improvements since V1.0
  826. have been because of their feedback, and Uedit's survival is due to the
  827. generous assistance of many users.  Used to be, I included a list here,
  828. but I simply had to take it out.  To name even one person or to try to
  829. name all who deserve it is sure to leave out somebody who really helped a
  830. lot.
  831.  
  832.                       *****************************
  833.  
  834.  
  835. Your feedback will be appreciated.
  836.  
  837.